package io.renren.modules.wx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author linmingze
 * @email ${email}
 * @date 2022-10-14 19:06:40
 */
@Data
@TableName("course")
public class CourseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 课程编号
	 */
	@TableId
	private Integer courseId;
	/**
	 * 课程名称
	 */
	private String name;
	/**
	 * 教师编号
	 */
	private Integer teacherId;
	/**
	 * 属性
	 */
	private String attribute;
	/**
	 * 封面
	 */
	private String faceImg;
	/**
	 * 添加时间
	 */
	private Date addTime;

	private String info;

	private Integer courseTime;

	@TableField(exist = false) //表示数据库表中不存在
	private String teacherName;
}
